#pragma once
#define DIRECTINPUT_VERSION 0x0800

#include <dinput.h>

class DInput
{
	private:
		//Make private to prevent copying of members of this class
		DInput(const DInput& rhs);
		DInput& operator=(const DInput& rhs);
		
	public:
		DInput(DWORD joystickCoopFlags);
		~DInput();

		void InitJoystick(DWORD joystickCoopFlags);
		void pollJoystick();
};

extern DInput* gDInput;
